/* アシックス特設コンテンツ全体のスタイル */
.asics-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 10px; /* スマホ用に左右に少し余白を追加 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #002169;
  text-align: center;
  box-sizing: border-box;
}

/* 全要素にbox-sizingを適用してはみ出しを防止 */
.asics-container *, .asics-container *::before, .asics-container *::after {
  box-sizing: border-box;
}

/* ヘッダーエリア (文字を中央揃え) */
.asics-header {
  text-align: center;
  margin-bottom: 25px;
}
.asics-header h1 {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-align: center;
}
.asics-header .subtitle {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

/* 上部ナビゲーションボタン */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 600px; /* 50%から固定値に変更し安定化 */
  margin: 0 auto 25px auto;
  width: 100%;
}
.btn-round {
  display: inline-block;
  flex: 1; /* ボタンの幅を均等に広げる */
  max-width: 160px;
  padding: 12px 0;
  background-color: #002169;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  transition: opacity 0.2s ease;
}
.btn-round:hover, .btn-action:hover {
  opacity: 0.8;
}

/* 紹介文 */
.intro-text {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 45px;
  padding: 0 10px;
}

/* セクションタイトル（背景の薄いブルー） */
.section-title-bg {
  background-color: #e6ebf7;
  padding: 15px;
  margin-bottom: 30px;
  text-align: center;
}
.section-title-bg h1 {
  font-size: 20px;
  font-weight: bold;
  color: #002169 !important; /* 他のCSSの干渉（緑色化）を防ぐ */
  margin: 0;
  text-align: center;
}

/* セクションタイトル枠線付き */
.section-title-border {
  max-width: 800px;
  margin: 0 auto 40px auto;
  border: 1px solid #002169;
  background-color: #e6ebf7;
  padding: 15px;
  text-align: center;
}
.section-title-border h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 5px 0;
  text-align: center;
}
.section-title-border p {
  font-size: 12px;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

/* レイアウト：共通カードスタイル */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card-img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* 2カラム（コートタイプ用） */
.grid-2col {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.grid-2col .card {
  width: 420px;
}

/* 3カラム（プレースタイル用） */
.grid-3col {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.grid-3col .card {
  width: 280px;
}

/* カード内要素 */
.grid-2col h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.accent-line {
  width: 70%;
  border: none;
  border-top: 2px solid #002169;
  margin: 0 0 15px 0;
}
.card-desc {
  font-size: 14px;
  margin: 0 0 20px 0;
}

/* ソール特徴ボックス */
.feature-box {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}
.feature-box h5 {
  background-color: #e6ebf7;
  font-size: 13px;
  font-weight: bold;
  color: #002169;
  padding: 8px;
  margin: 0 0 10px 0;
  text-align: center;
}
.feature-box p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* セクション2（プレースタイル）用テキスト */
.style-desc {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

/* 商品はこちら ボタン */
.btn-action {
  display: inline-block;
  padding: 12px 50px;
  background-color: #002169;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  margin-top: auto;
  transition: opacity 0.2s ease;
}


/* ==========================================
   ★ここからスマホ（画面幅768px以下）用の調整
   ========================================== */
@media (max-width: 768px) {
  /* 全体の文字サイズ微調整 */
  .asics-header h1 {
    font-size: 26px;
  }
  .asics-header .subtitle {
    font-size: 15px;
  }
  .section-title-border h3 {
    font-size: 20px;
  }
  
  /* 上部ボタン：スマホ画面に合わせて小さく横並びを維持 */
  .category-nav {
    gap: 8px;
    padding: 0 5px;
  }
  .btn-round {
    font-size: 12px;
    padding: 10px 0;
  }

  /* 2カラム・3カラムの横並びを解除して、縦並び（1カラム）に変更 */
  .grid-2col, .grid-3col {
    flex-direction: column;
    align-items: center;
    gap: 45px; /* カード同士の間隔 */
    margin-bottom: 45px;
  }

  /* スマホの時はカードの横幅を100%にして潰れを防ぐ */
  .grid-2col .card, .grid-3col .card {
    width: 100%;
    max-width: 450px; /* スマホで広がりすぎないよう最大幅を制限 */
    padding: 0 10px;
  }

  /* スマホでのボタンの押しやすさを考慮 */
  .btn-action {
    width: 100%;
    max-width: 280px;
    padding: 12px 0;
  }
}